<script lang="ts" setup>
import themeManager from "~/util/theme_manager";
// const theme = themeManager.getTheme()

const router = useRouter()

const resetTrackingList = () => {
  localStorage.removeItem('trackingList')
  router.go(0)
}
</script>

<template>
  <div id="page-setting" :style="themeManager.tabStyle()">
    <div class="mb-3" :style="themeManager.paneStyle()">
      <span class="h2">Setting</span>
    </div>
    <div class="mb-3" :style="themeManager.paneStyle()">
      <div class="mb-1">Tracking List</div>
      <div class="btn-default" @click="resetTrackingList">Reset</div>
    </div>
  </div>
</template>


<style scoped>
.btn-default {
  cursor: pointer;
  user-select: none;
  background-color: #1e5f74;
  padding: 0.25rem 0.5rem;
  border-radius: 3px;
  overflow: hidden;
  width: fit-content;
}
</style>
